// --------------------------------------------------
// 代码块
// @Author: steven.wjx
// @Date:   2020-03-05 13:17:50
// --------------------------------------------------
code {
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

// Inline code
code {
	padding: 2px 4px;
	font-size: $code-font-size;
	color: $code-color;
	background-color: $code-bg;
	white-space: nowrap;
}

pre {
	display: block;
	padding: 0 1rem;
	margin: 1rem 0;
	word-break: break-all;
	word-wrap: break-word;
	color: $pre-color;
	background-color: $pre-bg;
	border: $pre-border;

	// Account for some code outputs that place code tags in pre tags
	code {
		padding: 0;
		font-size: inherit;
		color: inherit;
		white-space: pre-wrap;
		background-color: transparent;
		border-radius: 0;
	}
}